//创建loginState的动作对象
import {constant} from "../constant";

export const createLogin=(data)=>{
    return {type:constant.LOGIN,data}
}
export const createLogout=(data)=>{
    return {type:constant.LOGOUT,data}
}